<include file="Public:header" />
<div id="main" class="main" >
<div class="content">
  <div class="title"><font color="green">{$_GET.id|GetModelName=checkin,member_name}</font>借还记录及消费记录 [ <a href="javascript:history.back()">返回列表</a> ]</div>
<div id="result" class="result none"></div>
<h1>预订单号：{$_GET.id|GetModelName=checkin,checkin_no} 消费记录</h1>
<table cellpadding=3 cellspacing=3 class="list">
<tr><th>费用类型</th><th>单价</th><th>开始</th><th>开始时间</th><th>结束</th><th>结束时间</th><th>使用量</th><th>金额</th><th >状态</th><th>备注</th></tr>
<volist name="costs" id="cost">
<tr>
	<td class="tRight" >{$cost.cost_type|getConfigVal=cost_type}</td>
        <td class="tLeft" >{$cost.unit_price}</td>
	<td class="tLeft" >{$cost.start}</td>
        <td class="tLeft" >{$cost.start_time|toDate}</td>
        <td class="tLeft" >{$cost.end}</td>
        <td class="tLeft" >{$cost.end_time|toDate}</td>
        <td class="tLeft" >{$cost.total}</td>
        <td class="tLeft" >{$cost.money}</td>
        <td class="tLeft" >{$cost.status|getConfigVal=coststatus}</td>
        <td class="tLeft" >{$cost.remark}</td>
</tr>
</volist>
</table>

<h1>借还记录</h1>
<table class="list" cellpadding=3>
<tr><th>物品</th><th>价值</th><th>借出时间</th><th>归还时间</th><th >状态</th><th>备注</th></tr>
<volist name="borrows" id="br">
    <tr class="row">
	<td class="tRight" >{$br.name}</td>
	<td class="tLeft" >{$cost.money}</td>
        <td class="tLeft" >{$cost.start_time|toDate}</td>
        <td class="tLeft" >{$cost.end_time|toDate}</td>
        <td class="tLeft" >{$cost.status|getConfigVal=borrowstatus}</td>
        <td class="tLeft" >{$cost.remark}</td>
</tr>
</volist>
</table>
</div>
</div>
